projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e00cea
)
(Fcopy_file) [WINDOWSNT]: Reverse logic for setting
author
Jason Rumney
<jasonr@gnu.org>
Sat, 1 Feb 2003 01:22:05 +0000
(
01:22
+0000)
committer
Jason Rumney
<jasonr@gnu.org>
Sat, 1 Feb 2003 01:22:05 +0000
(
01:22
+0000)
timestamp.
src/fileio.c
patch
|
blob
|
history
diff --git
a/src/fileio.c
b/src/fileio.c
index 72c9faccddda36d46a9fd2a769d30ec9977d6436..02b45ed077cecea594fc45fcf77b305515b95f84 100644
(file)
--- a/
src/fileio.c
+++ b/
src/fileio.c
@@
-2405,7
+2405,8
@@
A prefix arg makes KEEP-TIME non-nil. */)
SDATA (encoded_newname),
FALSE))
report_file_error ("Copying file", Fcons (file, Fcons (newname, Qnil)));
- else if (!NILP (keep_time))
+ /* CopyFile retains the timestamp by default. */
+ else if (NILP (keep_time))
{
EMACS_TIME now;
DWORD attributes;